package com.zhike.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.zhike.model.SpareGold;
import com.zhike.service.SpareGoldService;

@Controller
public class SpareGoldController {

	@Autowired
	SpareGoldService spareGoldService;
	
	/*
	 * 备用金申请单
	 */
	@ResponseBody
	@RequestMapping(value="api/spareGold/apply",method=RequestMethod.GET,produces="application/json;charset=utf-8")
	private String login(SpareGold spareGold) {
		String str	= spareGoldService.spareGoldApply(spareGold);
		return str;
		
	}
}
